import pytest,os
from log import fujian
from mail import send_mail
if __name__ == '__main__':
    fujian()
    pytest.main(["-s","testcase.py","--alluredir=./baogao","--clean-alluredir"])
    os.system("allure generate baogao -o ./报告 --clean")
    send_mail(["log.log","./报告/index.html"])



